/**
* @Depends ksg.base.services.js
*/
$.extend(ksg.services, {
    loginUser: function (userid, pwd, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/webservice/loginUser/" + userid + "/" + pwd, success, error);
    },
    logoffUser: function (success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/webservice/logoffUser", success, error);
    },

    /** Company Users and User GroupsServices **/
    getCompanyUsers: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/webservice/getCompanyUsers", success, error, null, options);
    },
    getCompanyUserCount: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/webservice/getCompanyUserCount", success, error, null, options);
    },
    getCompanyUserGroups: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/webservice/getCompanyUserGroups", success, error, null, options);
    },
    getCompanyUserGroupCount: function (options, success, error) {
        ksg.util.svcCall(ksg.services.baseUrl + "/webservice/getCompanyUserGroupCount", success, error, null, options);
    },

    deleteUser: function (options, success, error) {
    	ksg.util.svcCall(ksg.services.baseUrl + "/jsonservice/deleteUser", success, error, null, options);
    }


});
